package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TopicExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TopicExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> picturesCriteria;

        protected List<Criterion> locationCriteria;

        protected List<Criterion> allCriteria;

        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
            picturesCriteria = new ArrayList<Criterion>();
            locationCriteria = new ArrayList<Criterion>();
        }

        public List<Criterion> getPicturesCriteria() {
            return picturesCriteria;
        }

        protected void addPicturesCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            picturesCriteria.add(new Criterion(condition, value, "com.mytx.mapper.ListTypeHandler"));
            allCriteria = null;
        }

        protected void addPicturesCriterion(String condition, List value1, List value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            picturesCriteria.add(new Criterion(condition, value1, value2, "com.mytx.mapper.ListTypeHandler"));
            allCriteria = null;
        }

        public List<Criterion> getLocationCriteria() {
            return locationCriteria;
        }

        protected void addLocationCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            locationCriteria.add(new Criterion(condition, value, "com.mytx.mapper.LocationTypeHandler"));
            allCriteria = null;
        }

        protected void addLocationCriterion(String condition, LatLng value1, LatLng value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            locationCriteria.add(new Criterion(condition, value1, value2, "com.mytx.mapper.LocationTypeHandler"));
            allCriteria = null;
        }

        public boolean isValid() {
            return criteria.size() > 0
                || picturesCriteria.size() > 0
                || locationCriteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            if (allCriteria == null) {
                allCriteria = new ArrayList<Criterion>();
                allCriteria.addAll(criteria);
                allCriteria.addAll(picturesCriteria);
                allCriteria.addAll(locationCriteria);
            }
            return allCriteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
            allCriteria = null;
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
            allCriteria = null;
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
            allCriteria = null;
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(String value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(String value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(String value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(String value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(String value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(String value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLike(String value) {
            addCriterion("u_id like", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotLike(String value) {
            addCriterion("u_id not like", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<String> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<String> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(String value1, String value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(String value1, String value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andOIdIsNull() {
            addCriterion("o_id is null");
            return (Criteria) this;
        }

        public Criteria andOIdIsNotNull() {
            addCriterion("o_id is not null");
            return (Criteria) this;
        }

        public Criteria andOIdEqualTo(String value) {
            addCriterion("o_id =", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotEqualTo(String value) {
            addCriterion("o_id <>", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdGreaterThan(String value) {
            addCriterion("o_id >", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdGreaterThanOrEqualTo(String value) {
            addCriterion("o_id >=", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLessThan(String value) {
            addCriterion("o_id <", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLessThanOrEqualTo(String value) {
            addCriterion("o_id <=", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLike(String value) {
            addCriterion("o_id like", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotLike(String value) {
            addCriterion("o_id not like", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdIn(List<String> values) {
            addCriterion("o_id in", values, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotIn(List<String> values) {
            addCriterion("o_id not in", values, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdBetween(String value1, String value2) {
            addCriterion("o_id between", value1, value2, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotBetween(String value1, String value2) {
            addCriterion("o_id not between", value1, value2, "oId");
            return (Criteria) this;
        }

        public Criteria andManagerIdIsNull() {
            addCriterion("manager_id is null");
            return (Criteria) this;
        }

        public Criteria andManagerIdIsNotNull() {
            addCriterion("manager_id is not null");
            return (Criteria) this;
        }

        public Criteria andManagerIdEqualTo(String value) {
            addCriterion("manager_id =", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotEqualTo(String value) {
            addCriterion("manager_id <>", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdGreaterThan(String value) {
            addCriterion("manager_id >", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdGreaterThanOrEqualTo(String value) {
            addCriterion("manager_id >=", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLessThan(String value) {
            addCriterion("manager_id <", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLessThanOrEqualTo(String value) {
            addCriterion("manager_id <=", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLike(String value) {
            addCriterion("manager_id like", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotLike(String value) {
            addCriterion("manager_id not like", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdIn(List<String> values) {
            addCriterion("manager_id in", values, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotIn(List<String> values) {
            addCriterion("manager_id not in", values, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdBetween(String value1, String value2) {
            addCriterion("manager_id between", value1, value2, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotBetween(String value1, String value2) {
            addCriterion("manager_id not between", value1, value2, "managerId");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andPicturesIsNull() {
            addCriterion("pictures is null");
            return (Criteria) this;
        }

        public Criteria andPicturesIsNotNull() {
            addCriterion("pictures is not null");
            return (Criteria) this;
        }

        public Criteria andPicturesEqualTo(List value) {
            addPicturesCriterion("pictures =", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesNotEqualTo(List value) {
            addPicturesCriterion("pictures <>", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesGreaterThan(List value) {
            addPicturesCriterion("pictures >", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesGreaterThanOrEqualTo(List value) {
            addPicturesCriterion("pictures >=", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesLessThan(List value) {
            addPicturesCriterion("pictures <", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesLessThanOrEqualTo(List value) {
            addPicturesCriterion("pictures <=", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesLike(List value) {
            addPicturesCriterion("pictures like", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesNotLike(List value) {
            addPicturesCriterion("pictures not like", value, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesIn(List<List> values) {
            addPicturesCriterion("pictures in", values, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesNotIn(List<List> values) {
            addPicturesCriterion("pictures not in", values, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesBetween(List value1, List value2) {
            addPicturesCriterion("pictures between", value1, value2, "pictures");
            return (Criteria) this;
        }

        public Criteria andPicturesNotBetween(List value1, List value2) {
            addPicturesCriterion("pictures not between", value1, value2, "pictures");
            return (Criteria) this;
        }

        public Criteria andVideoIsNull() {
            addCriterion("video is null");
            return (Criteria) this;
        }

        public Criteria andVideoIsNotNull() {
            addCriterion("video is not null");
            return (Criteria) this;
        }

        public Criteria andVideoEqualTo(String value) {
            addCriterion("video =", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotEqualTo(String value) {
            addCriterion("video <>", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoGreaterThan(String value) {
            addCriterion("video >", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoGreaterThanOrEqualTo(String value) {
            addCriterion("video >=", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoLessThan(String value) {
            addCriterion("video <", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoLessThanOrEqualTo(String value) {
            addCriterion("video <=", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoLike(String value) {
            addCriterion("video like", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotLike(String value) {
            addCriterion("video not like", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoIn(List<String> values) {
            addCriterion("video in", values, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotIn(List<String> values) {
            addCriterion("video not in", values, "video");
            return (Criteria) this;
        }

        public Criteria andVideoBetween(String value1, String value2) {
            addCriterion("video between", value1, value2, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotBetween(String value1, String value2) {
            addCriterion("video not between", value1, value2, "video");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(LatLng value) {
            addLocationCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(LatLng value) {
            addLocationCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(LatLng value) {
            addLocationCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(LatLng value) {
            addLocationCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(LatLng value) {
            addLocationCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(LatLng value) {
            addLocationCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(LatLng value) {
            addLocationCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(LatLng value) {
            addLocationCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<LatLng> values) {
            addLocationCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<LatLng> values) {
            addLocationCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(LatLng value1, LatLng value2) {
            addLocationCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(LatLng value1, LatLng value2) {
            addLocationCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCommentSizeIsNull() {
            addCriterion("comment_size is null");
            return (Criteria) this;
        }

        public Criteria andCommentSizeIsNotNull() {
            addCriterion("comment_size is not null");
            return (Criteria) this;
        }

        public Criteria andCommentSizeEqualTo(Integer value) {
            addCriterion("comment_size =", value, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeNotEqualTo(Integer value) {
            addCriterion("comment_size <>", value, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeGreaterThan(Integer value) {
            addCriterion("comment_size >", value, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("comment_size >=", value, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeLessThan(Integer value) {
            addCriterion("comment_size <", value, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeLessThanOrEqualTo(Integer value) {
            addCriterion("comment_size <=", value, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeIn(List<Integer> values) {
            addCriterion("comment_size in", values, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeNotIn(List<Integer> values) {
            addCriterion("comment_size not in", values, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeBetween(Integer value1, Integer value2) {
            addCriterion("comment_size between", value1, value2, "commentSize");
            return (Criteria) this;
        }

        public Criteria andCommentSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("comment_size not between", value1, value2, "commentSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeIsNull() {
            addCriterion("praise_size is null");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeIsNotNull() {
            addCriterion("praise_size is not null");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeEqualTo(Integer value) {
            addCriterion("praise_size =", value, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeNotEqualTo(Integer value) {
            addCriterion("praise_size <>", value, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeGreaterThan(Integer value) {
            addCriterion("praise_size >", value, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("praise_size >=", value, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeLessThan(Integer value) {
            addCriterion("praise_size <", value, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeLessThanOrEqualTo(Integer value) {
            addCriterion("praise_size <=", value, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeIn(List<Integer> values) {
            addCriterion("praise_size in", values, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeNotIn(List<Integer> values) {
            addCriterion("praise_size not in", values, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeBetween(Integer value1, Integer value2) {
            addCriterion("praise_size between", value1, value2, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPraiseSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("praise_size not between", value1, value2, "praiseSize");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceIsNull() {
            addCriterion("auction_price is null");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceIsNotNull() {
            addCriterion("auction_price is not null");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceEqualTo(BigDecimal value) {
            addCriterion("auction_price =", value, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceNotEqualTo(BigDecimal value) {
            addCriterion("auction_price <>", value, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceGreaterThan(BigDecimal value) {
            addCriterion("auction_price >", value, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("auction_price >=", value, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceLessThan(BigDecimal value) {
            addCriterion("auction_price <", value, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("auction_price <=", value, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceIn(List<BigDecimal> values) {
            addCriterion("auction_price in", values, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceNotIn(List<BigDecimal> values) {
            addCriterion("auction_price not in", values, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("auction_price between", value1, value2, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andAuctionPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("auction_price not between", value1, value2, "auctionPrice");
            return (Criteria) this;
        }

        public Criteria andBidIncrementIsNull() {
            addCriterion("bid_increment is null");
            return (Criteria) this;
        }

        public Criteria andBidIncrementIsNotNull() {
            addCriterion("bid_increment is not null");
            return (Criteria) this;
        }

        public Criteria andBidIncrementEqualTo(BigDecimal value) {
            addCriterion("bid_increment =", value, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementNotEqualTo(BigDecimal value) {
            addCriterion("bid_increment <>", value, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementGreaterThan(BigDecimal value) {
            addCriterion("bid_increment >", value, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bid_increment >=", value, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementLessThan(BigDecimal value) {
            addCriterion("bid_increment <", value, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bid_increment <=", value, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementIn(List<BigDecimal> values) {
            addCriterion("bid_increment in", values, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementNotIn(List<BigDecimal> values) {
            addCriterion("bid_increment not in", values, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bid_increment between", value1, value2, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andBidIncrementNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bid_increment not between", value1, value2, "bidIncrement");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceIsNull() {
            addCriterion("donation_balance is null");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceIsNotNull() {
            addCriterion("donation_balance is not null");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceEqualTo(BigDecimal value) {
            addCriterion("donation_balance =", value, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceNotEqualTo(BigDecimal value) {
            addCriterion("donation_balance <>", value, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceGreaterThan(BigDecimal value) {
            addCriterion("donation_balance >", value, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("donation_balance >=", value, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceLessThan(BigDecimal value) {
            addCriterion("donation_balance <", value, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("donation_balance <=", value, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceIn(List<BigDecimal> values) {
            addCriterion("donation_balance in", values, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceNotIn(List<BigDecimal> values) {
            addCriterion("donation_balance not in", values, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("donation_balance between", value1, value2, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("donation_balance not between", value1, value2, "donationBalance");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedIsNull() {
            addCriterion("donation_received is null");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedIsNotNull() {
            addCriterion("donation_received is not null");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedEqualTo(BigDecimal value) {
            addCriterion("donation_received =", value, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedNotEqualTo(BigDecimal value) {
            addCriterion("donation_received <>", value, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedGreaterThan(BigDecimal value) {
            addCriterion("donation_received >", value, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("donation_received >=", value, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedLessThan(BigDecimal value) {
            addCriterion("donation_received <", value, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("donation_received <=", value, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedIn(List<BigDecimal> values) {
            addCriterion("donation_received in", values, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedNotIn(List<BigDecimal> values) {
            addCriterion("donation_received not in", values, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("donation_received between", value1, value2, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationReceivedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("donation_received not between", value1, value2, "donationReceived");
            return (Criteria) this;
        }

        public Criteria andDonationSizeIsNull() {
            addCriterion("donation_size is null");
            return (Criteria) this;
        }

        public Criteria andDonationSizeIsNotNull() {
            addCriterion("donation_size is not null");
            return (Criteria) this;
        }

        public Criteria andDonationSizeEqualTo(Integer value) {
            addCriterion("donation_size =", value, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeNotEqualTo(Integer value) {
            addCriterion("donation_size <>", value, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeGreaterThan(Integer value) {
            addCriterion("donation_size >", value, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("donation_size >=", value, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeLessThan(Integer value) {
            addCriterion("donation_size <", value, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeLessThanOrEqualTo(Integer value) {
            addCriterion("donation_size <=", value, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeIn(List<Integer> values) {
            addCriterion("donation_size in", values, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeNotIn(List<Integer> values) {
            addCriterion("donation_size not in", values, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeBetween(Integer value1, Integer value2) {
            addCriterion("donation_size between", value1, value2, "donationSize");
            return (Criteria) this;
        }

        public Criteria andDonationSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("donation_size not between", value1, value2, "donationSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeIsNull() {
            addCriterion("forward_size is null");
            return (Criteria) this;
        }

        public Criteria andForwardSizeIsNotNull() {
            addCriterion("forward_size is not null");
            return (Criteria) this;
        }

        public Criteria andForwardSizeEqualTo(Integer value) {
            addCriterion("forward_size =", value, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeNotEqualTo(Integer value) {
            addCriterion("forward_size <>", value, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeGreaterThan(Integer value) {
            addCriterion("forward_size >", value, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("forward_size >=", value, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeLessThan(Integer value) {
            addCriterion("forward_size <", value, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeLessThanOrEqualTo(Integer value) {
            addCriterion("forward_size <=", value, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeIn(List<Integer> values) {
            addCriterion("forward_size in", values, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeNotIn(List<Integer> values) {
            addCriterion("forward_size not in", values, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeBetween(Integer value1, Integer value2) {
            addCriterion("forward_size between", value1, value2, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andForwardSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("forward_size not between", value1, value2, "forwardSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeIsNull() {
            addCriterion("task_size is null");
            return (Criteria) this;
        }

        public Criteria andTaskSizeIsNotNull() {
            addCriterion("task_size is not null");
            return (Criteria) this;
        }

        public Criteria andTaskSizeEqualTo(Integer value) {
            addCriterion("task_size =", value, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeNotEqualTo(Integer value) {
            addCriterion("task_size <>", value, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeGreaterThan(Integer value) {
            addCriterion("task_size >", value, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_size >=", value, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeLessThan(Integer value) {
            addCriterion("task_size <", value, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeLessThanOrEqualTo(Integer value) {
            addCriterion("task_size <=", value, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeIn(List<Integer> values) {
            addCriterion("task_size in", values, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeNotIn(List<Integer> values) {
            addCriterion("task_size not in", values, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeBetween(Integer value1, Integer value2) {
            addCriterion("task_size between", value1, value2, "taskSize");
            return (Criteria) this;
        }

        public Criteria andTaskSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_size not between", value1, value2, "taskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeIsNull() {
            addCriterion("receive_task_size is null");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeIsNotNull() {
            addCriterion("receive_task_size is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeEqualTo(Integer value) {
            addCriterion("receive_task_size =", value, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeNotEqualTo(Integer value) {
            addCriterion("receive_task_size <>", value, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeGreaterThan(Integer value) {
            addCriterion("receive_task_size >", value, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("receive_task_size >=", value, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeLessThan(Integer value) {
            addCriterion("receive_task_size <", value, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeLessThanOrEqualTo(Integer value) {
            addCriterion("receive_task_size <=", value, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeIn(List<Integer> values) {
            addCriterion("receive_task_size in", values, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeNotIn(List<Integer> values) {
            addCriterion("receive_task_size not in", values, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeBetween(Integer value1, Integer value2) {
            addCriterion("receive_task_size between", value1, value2, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andReceiveTaskSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("receive_task_size not between", value1, value2, "receiveTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeIsNull() {
            addCriterion("finish_task_size is null");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeIsNotNull() {
            addCriterion("finish_task_size is not null");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeEqualTo(Integer value) {
            addCriterion("finish_task_size =", value, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeNotEqualTo(Integer value) {
            addCriterion("finish_task_size <>", value, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeGreaterThan(Integer value) {
            addCriterion("finish_task_size >", value, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("finish_task_size >=", value, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeLessThan(Integer value) {
            addCriterion("finish_task_size <", value, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeLessThanOrEqualTo(Integer value) {
            addCriterion("finish_task_size <=", value, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeIn(List<Integer> values) {
            addCriterion("finish_task_size in", values, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeNotIn(List<Integer> values) {
            addCriterion("finish_task_size not in", values, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeBetween(Integer value1, Integer value2) {
            addCriterion("finish_task_size between", value1, value2, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andFinishTaskSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("finish_task_size not between", value1, value2, "finishTaskSize");
            return (Criteria) this;
        }

        public Criteria andDepositIsNull() {
            addCriterion("deposit is null");
            return (Criteria) this;
        }

        public Criteria andDepositIsNotNull() {
            addCriterion("deposit is not null");
            return (Criteria) this;
        }

        public Criteria andDepositEqualTo(BigDecimal value) {
            addCriterion("deposit =", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotEqualTo(BigDecimal value) {
            addCriterion("deposit <>", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositGreaterThan(BigDecimal value) {
            addCriterion("deposit >", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("deposit >=", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositLessThan(BigDecimal value) {
            addCriterion("deposit <", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositLessThanOrEqualTo(BigDecimal value) {
            addCriterion("deposit <=", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositIn(List<BigDecimal> values) {
            addCriterion("deposit in", values, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotIn(List<BigDecimal> values) {
            addCriterion("deposit not in", values, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deposit between", value1, value2, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deposit not between", value1, value2, "deposit");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeIsNull() {
            addCriterion("stop_time is null");
            return (Criteria) this;
        }

        public Criteria andStopTimeIsNotNull() {
            addCriterion("stop_time is not null");
            return (Criteria) this;
        }

        public Criteria andStopTimeEqualTo(Date value) {
            addCriterion("stop_time =", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeNotEqualTo(Date value) {
            addCriterion("stop_time <>", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeGreaterThan(Date value) {
            addCriterion("stop_time >", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("stop_time >=", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeLessThan(Date value) {
            addCriterion("stop_time <", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeLessThanOrEqualTo(Date value) {
            addCriterion("stop_time <=", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeIn(List<Date> values) {
            addCriterion("stop_time in", values, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeNotIn(List<Date> values) {
            addCriterion("stop_time not in", values, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeBetween(Date value1, Date value2) {
            addCriterion("stop_time between", value1, value2, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeNotBetween(Date value1, Date value2) {
            addCriterion("stop_time not between", value1, value2, "stopTime");
            return (Criteria) this;
        }

        public Criteria andExtraIsNull() {
            addCriterion("extra is null");
            return (Criteria) this;
        }

        public Criteria andExtraIsNotNull() {
            addCriterion("extra is not null");
            return (Criteria) this;
        }

        public Criteria andExtraEqualTo(String value) {
            addCriterion("extra =", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotEqualTo(String value) {
            addCriterion("extra <>", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThan(String value) {
            addCriterion("extra >", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThanOrEqualTo(String value) {
            addCriterion("extra >=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThan(String value) {
            addCriterion("extra <", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThanOrEqualTo(String value) {
            addCriterion("extra <=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLike(String value) {
            addCriterion("extra like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotLike(String value) {
            addCriterion("extra not like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraIn(List<String> values) {
            addCriterion("extra in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotIn(List<String> values) {
            addCriterion("extra not in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraBetween(String value1, String value2) {
            addCriterion("extra between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotBetween(String value1, String value2) {
            addCriterion("extra not between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNull() {
            addCriterion("updated is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNotNull() {
            addCriterion("updated is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedEqualTo(Date value) {
            addCriterion("updated =", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotEqualTo(Date value) {
            addCriterion("updated <>", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThan(Date value) {
            addCriterion("updated >", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
            addCriterion("updated >=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThan(Date value) {
            addCriterion("updated <", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThanOrEqualTo(Date value) {
            addCriterion("updated <=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedIn(List<Date> values) {
            addCriterion("updated in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotIn(List<Date> values) {
            addCriterion("updated not in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedBetween(Date value1, Date value2) {
            addCriterion("updated between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotBetween(Date value1, Date value2) {
            addCriterion("updated not between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Date value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Date value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Date value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Date value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Date value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Date> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Date> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Date value1, Date value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Date value1, Date value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}